list=[1,2,3,4]
it = iter(list)    # 创建迭代器对象
#print (next(it))   # next()函数输出迭代器的下一个元素,以此类推
#print (next(it))

#使用for循环来输出
for x in list:
    print(x)#python语句语句运行和代码缩进/换行 严格相关.
    

list1=["a1","b2","c3","d4"]
list2=[1,2,3,4,5]
for i in list2:
    print(i)